using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{
    public class IcReaderBrandVo : BaseVo
    {
        #region Constract
        public IcReaderBrand mIcReaderBrand;
        public IcReaderBrandVo(IcReaderBrand icReaderBrand)
        {
            mIcReaderBrand = icReaderBrand;
        }
        #endregion

        public Int64 Id
        {
            get { return mIcReaderBrand.id; }
            set
            {
                mIcReaderBrand.id = value;
                OnPropertyChanged(this, nameof(Id));
            }
        }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Name
        {
            get { return mIcReaderBrand.name; }
            set
            {
                mIcReaderBrand.name = value; OnPropertyChanged(this, nameof(Name));
            }
        }

        /// <summary>
        /// 可空:NO
        ///默认值:0
        /// </summary>

        public ICReaderBrandType Type
        {
            get { return (ICReaderBrandType)mIcReaderBrand.type; }
            set
            {
                mIcReaderBrand.type = (int)value;
                OnPropertyChanged(this, nameof(Type));
            }
        }


        public ConmunitationType ConmunitationType
        {
            get { return (ConmunitationType)mIcReaderBrand.conmunicationType; }
            set
            {
                mIcReaderBrand.conmunicationType = (int)value;
                OnPropertyChanged(this, nameof(ConmunitationType));
            }
        }
    }
}
